<%@ page import="br.uefs.cedoc.entidades.*"  %>
<%@ page import="br.uefs.cedoc.controle.*"  %>
<%@ page import="br.uefs.cedoc.db.*"  %>
<%@ page import="br.uefs.cedoc.util.ConfigWeb"%>
<jsp:useBean id="parteI" class="br.uefs.cedoc.entidades.ParteIBean"/>
<%
  ParteIBean[] parteIs = (ParteIBean[])request.getAttribute("parteI");
%>
<html>
<head><title>Menu de Atualizacao</title></head>
<form name="menu" action="<%=ConfigWeb.BASE_PATH%>/docSrv" method="post">
<table border="1" align="center"><tr><td width="424">
<table width="424" border="1" align="center" cellpadding="10" cellspacing="0" bgcolor="tan">
          <tr><th colspan="2">Atualizacao de ParteI</th></tr>
<%
for (int i=0; i < parteIs.length; i++) {%>

<%
  parteI = parteIs[i];
%>
<tr>
    <td width="20"><input type="radio" name="id" value="<%=parteI.getIdParteI()%>"><%= parteI.getIdParteI()%></td>
<td width="344"><p>Nome:  <input name="nome" type="text" disabled="true"
value="<%= parteI.getNome() %>" size="41"> </p>
              <p>Prenome:  <input name="prenome" type="text" disabled="true"
value="<%= parteI.getPrenome() %>" size="41"> </p>
              </td>

</tr>
<% } %>
<tr>
            <td colspan=2 align="center"><input name="submit" type="submit" value="Voltar"> 
              <input type="submit" value="Editar" onClick="document.menu.cmd.value='upd-parte1'">
</td></tr>
</table>
</td></tr></table>
<input type="hidden" name="cmd" value="abort">
</form>
</html>